package top.rish.converter.springboot;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import top.rish.converter.handler.DesensitizedConverterHandler;
import top.rish.converter.handler.EnumConverterHandler;
import top.rish.converter.handler.KvConverterHandler;

@Configuration
public class DictConverterConfiguration {
    @Bean
    public KvConverterHandler kvConverterHandler(){

        return new KvConverterHandler();
    }

    @Bean
    public DesensitizedConverterHandler desensitizedConverterHandler(){

        return new DesensitizedConverterHandler();
    }

    @Bean
    public EnumConverterHandler enumConverterHandler(){
        return new EnumConverterHandler();
    }


}
